﻿package homework;/*
 *ClassName:test15_2
 *UserName:zhang
 *CreateTime:2020/9/15 20:10
 */

import java.util.Scanner;

public class test15_2 {
    public static void main(String[] args) {
       String arr1 = "fwEt2f44F2k8";
	    int a = 0;	//用于统计非数字个数
		char[] c1 = arr1.toCharArray();
		for (int i = 0; i < c1.length; i++) {
			if (c1[i] >= '0' && c1[i] <= '9') {
				a++;
			}
		}
		System.out.println(a);
    }
}
